<?php
class Good extends AppModel {

	var $name = 'Good';

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
//		'Brand' => array(
//			'className' => 'Brand',
//			'foreignKey' => 'brand_id',
//			'conditions' => '',
//			'fields' => '',
//			'order' => ''
//		),
//		'BonusType' => array(
//			'className' => 'BonusType',
//			'foreignKey' => 'bonus_type_id',
//			'conditions' => '',
//			'fields' => '',
//			'order' => ''
//		),
//		'GoodsType' => array(
//			'className' => 'GoodsType',
//			'foreignKey' => 'goods_type_id',
//			'conditions' => '',
//			'fields' => '',
//			'order' => ''
//		),
		'Category' => array(
			'className' => 'Category',
			'foreignKey' => 'category_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

//	var $hasOne = array(
//		'Cart' => array(
//			'className' => 'Cart',
//			'foreignKey' => 'good_id',
//			'dependent' => false,
//			'conditions' => '',
//			'fields' => '',
//			'order' => ''
//		)
//	);
//
//	var $hasMany = array(
//		'Tag' => array(
//			'className' => 'Tag',
//			'foreignKey' => 'good_id',
//			'dependent' => false,
//			'conditions' => '',
//			'fields' => '',
//			'order' => '',
//			'limit' => '',
//			'offset' => '',
//			'exclusive' => '',
//			'finderQuery' => '',
//			'counterQuery' => ''
//		)
//	);

}
?>